From 04442c29707af03c8dfd246aabcfb90c26312d45 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Mon, 1 Nov 2010 19:38:08 +0000 Subject: [PATCH] rebuildtextindex.php: don't output the initial progress of 0, it's misleading. --- maintenance/rebuildtextindex.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/maintenance/rebuildtextindex.php b/maintenance/rebuildtextindex.php index fd2d159b3f..8673f9e3f6 100644 --- a/maintenance/rebuildtextindex.php +++ b/maintenance/rebuildtextindex.php @@ -73,7 +73,9 @@ class RebuildTextIndex extends Maintenance { $n = 0; while ( $n < $count ) { - $this->output( $n . "\n" ); + if ( $n ) { + $this->output( $n . "\n" ); + } $end = $n + self::RTI_CHUNK_SIZE - 1; $res = $this->db->select( array( 'page', 'revision', 'text' ), -- 2.20.1